package shark.flow.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class Query implements Serializable {

    private static final long serialVersionUID = 817880730448759944L;

    /**
     * 每页显示多少条
     */
    private int pageSize = 20;

    /**
     * 页码，从1开始
     */
    private int pageNum;

    /**
     * 排序的字段
     */
    private String sortField;
    /**
     * 正反排序 asc desc
     */
    private String sortOrder;

    public int getPageNum() {
        return pageNum;
    }

}
